Optimal. Leaf size=133 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{10 f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{40 c f (c-c \sin (e+f x))^{9/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{240 c^2 f (c-c \sin (e+f x))^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2822, 2821}
\begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{240 c^2 f (c-c \sin (e+f x))^{7/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{40 c f (c-c \sin (e+f x))^{9/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{10 f (c-c \sin (e+f x))^{11/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2821
Rule 2822
Rubi steps
\begin {align*} \int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{11/2}} \, dx &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{10 f (c-c \sin (e+f x))^{11/2}}+\frac {\int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{9/2}} \, dx}{5 c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{10 f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{40 c f (c-c \sin (e+f x))^{9/2}}+\frac {\int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{7/2}} \, dx}{40 c^2}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{10 f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{40 c f (c-c \sin (e+f x))^{9/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{240 c^2 f (c-c \sin (e+f x))^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 2.12, size = 118, normalized size = 0.89 \begin {gather*} -\frac {a^2 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {a (1+\sin (e+f x))} (9-5 \cos (2 (e+f x))+10 \sin (e+f x))}{30 c^5 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^5 \sqrt {c-c \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 17.88, size = 225, normalized size = 1.69
method | result | size |
default | \(\frac {\sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {5}{2}} \left (2 \left (\cos ^{5}\left (f x +e \right )\right )+2 \sin \left (f x +e \right ) \left (\cos ^{4}\left (f x +e \right )\right )-12 \left (\cos ^{4}\left (f x +e \right )\right )+10 \left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )-24 \left (\cos ^{3}\left (f x +e \right )\right )-34 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )+59 \left (\cos ^{2}\left (f x +e \right )\right )-25 \cos \left (f x +e \right ) \sin \left (f x +e \right )+37 \cos \left (f x +e \right )+62 \sin \left (f x +e \right )-62\right )}{15 f \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {11}{2}} \left (\cos ^{3}\left (f x +e \right )-\sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-2 \cos \left (f x +e \right ) \sin \left (f x +e \right )-2 \cos \left (f x +e \right )+4 \sin \left (f x +e \right )+4\right )}\) | \(225\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 159, normalized size = 1.20 \begin {gather*} -\frac {{\left (5 \, a^{2} \cos \left (f x + e\right )^{2} - 5 \, a^{2} \sin \left (f x + e\right ) - 7 \, a^{2}\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{15 \, {\left (5 \, c^{6} f \cos \left (f x + e\right )^{5} - 20 \, c^{6} f \cos \left (f x + e\right )^{3} + 16 \, c^{6} f \cos \left (f x + e\right ) - {\left (c^{6} f \cos \left (f x + e\right )^{5} - 12 \, c^{6} f \cos \left (f x + e\right )^{3} + 16 \, c^{6} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.49, size = 139, normalized size = 1.05 \begin {gather*} -\frac {{\left (10 \, a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 15 \, a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 6 \, a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{240 \, c^{6} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 12.08, size = 273, normalized size = 2.05 \begin {gather*} \frac {\sqrt {c-c\,\sin \left (e+f\,x\right )}\,\left (\frac {a^2\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,96{}\mathrm {i}}{5\,c^6\,f}+\frac {a^2\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (e+f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,64{}\mathrm {i}}{3\,c^6\,f}-\frac {a^2\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (2\,e+2\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,32{}\mathrm {i}}{3\,c^6\,f}\right )}{\cos \left (e+f\,x\right )\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,264{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (3\,e+3\,f\,x\right )\,220{}\mathrm {i}+{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (5\,e+5\,f\,x\right )\,20{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (2\,e+2\,f\,x\right )\,330{}\mathrm {i}+{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (4\,e+4\,f\,x\right )\,88{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (6\,e+6\,f\,x\right )\,2{}\mathrm {i}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________